import {createApp} from 'vue'
import App from './App.vue'
import router from "./router";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// 引入pinia
import {createPinia} from "pinia";
import vant from "vant";
import 'lib-flexible/flexible'
import 'vant/lib/index.css'; // 全局引入样式
import "./utils/rem"

const store = createPinia()
store.use(piniaPluginPersistedstate);
// 全局引入样式
createApp(App)
    .use(router)
    .use(store)
    .use(vant)
    .mount('#app')
